#include "../afw/afwApp.h"

using namespace one_rag::App;

typedef Application App;

int main (int argc, char* argv[])
{
    App theApp;
    theApp.Init(&argc,argv);

    App::Window wnd;

    wnd.Create("Hello World",windowPosDefault,512,512*9/16);

    theApp.Run();
    //PopupWindow wnd;
    //wnd.Create(CW_USEDEFAULT,0,352*16/9,352,TEXT("The Title"));
    //RichTextView view;
    //view.Create(wnd);

/*
    String text("{\\rtf1\\ansi{\\fonttbl\\f0\\fswiss Helvetica;}\\f0\\pard "\
      "This is some {\\b bold} text.\\par"\
      "}");
*/
    //view.AddText(text);
    //view.AddText(TEXT("Hello World!\r\n"));
    //view.AddText(TEXT("Second Line\r\n"));
    //return theApp.RunModal();
}
